package com.hk.button;

import javax.swing.JButton;

public class NewGameButton {
	private static NewGameButton newgamebutton;
	
	private ButtonBatting battingBtn = new ButtonBatting();
	private ButtonDouble doubleBtn = new ButtonDouble();
	private ButtonHit hitBtn = new ButtonHit();
	private ButtonLose loseBtn = new ButtonLose();
	private ButtonRegame regameBtn = new ButtonRegame();
	private ButtonSplit splitBtn = new ButtonSplit();
	private ButtonPlay startBtn = new ButtonPlay();
	private ButtonStay stayBtn = new ButtonStay();
	private ButtonSurrender surrenderBtn = new ButtonSurrender();
	private ButtonWin winBtn = new ButtonWin();
	
	private NewGameButton(){}
	public static NewGameButton getProcess() {
		if (newgamebutton==null) {
			newgamebutton = new NewGameButton();
		}
		return newgamebutton;
	}
	public JButton getLoseBtn() {
		return loseBtn.getButton();
	}
	public JButton getBattingBtn() {
		return battingBtn.getButton();
	}
	public JButton getDoubleBtn() {
		return doubleBtn.getButton();
	}
	public JButton getHitBtn() {
		return hitBtn.getButton();
	}
	public JButton getRegameBtn() {
		return regameBtn.getButton();
	}
	public JButton getSplitBtn() {
		return splitBtn.getButton();
	}
	public JButton getStartBtn() {
		return startBtn.getButton();
	}
	public JButton getStayBtn() {
		return stayBtn.getButton();
	}
	public JButton getSurrenderBtn() {
		return surrenderBtn.getButton();
	}
	public JButton getWinBtn() {
		return winBtn.getButton();
	}
}
